package com.ruoyi.system.domain.vo;

public class UserProfile {
    private String avatar; // 头像URL
    private String name; // 姓名
    private String idNumber; // 身份证号码
    private String phoneNumber; // 手机号码

    // 构造函数
    public UserProfile(String avatar, String name, String idNumber, String phoneNumber) {
        this.avatar = avatar;
        this.name = name;
        this.idNumber = idNumber;
        this.phoneNumber = phoneNumber;
    }

    // Getter 和 Setter 方法
    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    // toString 方法，用于打印用户资料信息
    @Override
    public String toString() {
        return "UserProfile{" +
                "avatar='" + avatar + '\'' +
                ", name='" + name + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                '}';
    }
}